IModel.GetRelationsOf method

Namespace: NextDesign.Core

Description

Get all associations with the specified model. This method evaluates IContextOption.PlModelAccessMode.

Returns an empty collection if no such association exists. In addition, this method gets all the relations regardless of owning relation/reference relation.

argument

Name Type Description
opposite IModel Other model
null cannot be specified.

Return value

  • IRelationshipCollection

Exception

Name Exception Class Description
Invalid argument ExtensionArgumentException If null is specified for opposite